package com.ruoyi.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 班级管理对象 t_class
 * 
 * @author ruoyi
 * @date 2022-12-24
 */
public class TClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级id */
    private Long id;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String name;

    /** 校区 */
    @Excel(name = "校区")
    private String campus;

    /** 开班状态，0未开班，1已开班，2已结课 */
    @Excel(name = "开班状态，0未开班，1已开班，2已结课")
    private Long state;

    /** 开班学生人数 */
    @Excel(name = "开班学生人数")
    private Long count;

    /** 开班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 班主任 */
    @Excel(name = "班主任")
    private String classAdviser;

    /** 就业老师 */
    @Excel(name = "就业老师")
    private String employmentTeacher;

    /** 助教老师 */
    @Excel(name = "助教老师")
    private String assistantTeacher;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCampus(String campus) 
    {
        this.campus = campus;
    }

    public String getCampus() 
    {
        return campus;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setClassAdviser(String classAdviser) 
    {
        this.classAdviser = classAdviser;
    }

    public String getClassAdviser() 
    {
        return classAdviser;
    }
    public void setEmploymentTeacher(String employmentTeacher) 
    {
        this.employmentTeacher = employmentTeacher;
    }

    public String getEmploymentTeacher() 
    {
        return employmentTeacher;
    }
    public void setAssistantTeacher(String assistantTeacher) 
    {
        this.assistantTeacher = assistantTeacher;
    }

    public String getAssistantTeacher() 
    {
        return assistantTeacher;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("campus", getCampus())
            .append("state", getState())
            .append("count", getCount())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("classAdviser", getClassAdviser())
            .append("employmentTeacher", getEmploymentTeacher())
            .append("assistantTeacher", getAssistantTeacher())
            .toString();
    }
}
